public static final class SetIamPolicyInstantSnapshotRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder> implements SetIamPolicyInstantSnapshotRequestOrBuilder
A request message for InstantSnapshots.SetIamPolicy. See the method description for details.Protobuf type
google.cloud.compute.v1.SetIamPolicyInstantSnapshotRequest| Modifier and Type | Method and Description |
|---|---|
SetIamPolicyInstantSnapshotRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SetIamPolicyInstantSnapshotRequest |
build() |
SetIamPolicyInstantSnapshotRequest |
buildPartial() |
SetIamPolicyInstantSnapshotRequest.Builder |
clear() |
SetIamPolicyInstantSnapshotRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SetIamPolicyInstantSnapshotRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SetIamPolicyInstantSnapshotRequest.Builder |
clearProject()
Project ID for this request.
|
SetIamPolicyInstantSnapshotRequest.Builder |
clearResource()
Name or id of the resource for this request.
|
SetIamPolicyInstantSnapshotRequest.Builder |
clearZone()
The name of the zone for this request.
|
SetIamPolicyInstantSnapshotRequest.Builder |
clearZoneSetPolicyRequestResource()
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
|
SetIamPolicyInstantSnapshotRequest.Builder |
clone() |
SetIamPolicyInstantSnapshotRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getProject()
Project ID for this request.
|
com.google.protobuf.ByteString |
getProjectBytes()
Project ID for this request.
|
String |
getResource()
Name or id of the resource for this request.
|
com.google.protobuf.ByteString |
getResourceBytes()
Name or id of the resource for this request.
|
String |
getZone()
The name of the zone for this request.
|
com.google.protobuf.ByteString |
getZoneBytes()
The name of the zone for this request.
|
ZoneSetPolicyRequest |
getZoneSetPolicyRequestResource()
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
|
ZoneSetPolicyRequest.Builder |
getZoneSetPolicyRequestResourceBuilder()
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
|
ZoneSetPolicyRequestOrBuilder |
getZoneSetPolicyRequestResourceOrBuilder()
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
|
boolean |
hasZoneSetPolicyRequestResource()
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SetIamPolicyInstantSnapshotRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SetIamPolicyInstantSnapshotRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
SetIamPolicyInstantSnapshotRequest.Builder |
mergeFrom(SetIamPolicyInstantSnapshotRequest other) |
SetIamPolicyInstantSnapshotRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SetIamPolicyInstantSnapshotRequest.Builder |
mergeZoneSetPolicyRequestResource(ZoneSetPolicyRequest value)
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
|
SetIamPolicyInstantSnapshotRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SetIamPolicyInstantSnapshotRequest.Builder |
setProject(String value)
Project ID for this request.
|
SetIamPolicyInstantSnapshotRequest.Builder |
setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.
|
SetIamPolicyInstantSnapshotRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SetIamPolicyInstantSnapshotRequest.Builder |
setResource(String value)
Name or id of the resource for this request.
|
SetIamPolicyInstantSnapshotRequest.Builder |
setResourceBytes(com.google.protobuf.ByteString value)
Name or id of the resource for this request.
|
SetIamPolicyInstantSnapshotRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SetIamPolicyInstantSnapshotRequest.Builder |
setZone(String value)
The name of the zone for this request.
|
SetIamPolicyInstantSnapshotRequest.Builder |
setZoneBytes(com.google.protobuf.ByteString value)
The name of the zone for this request.
|
SetIamPolicyInstantSnapshotRequest.Builder |
setZoneSetPolicyRequestResource(ZoneSetPolicyRequest.Builder builderForValue)
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
|
SetIamPolicyInstantSnapshotRequest.Builder |
setZoneSetPolicyRequestResource(ZoneSetPolicyRequest value)
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder>public SetIamPolicyInstantSnapshotRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder>public SetIamPolicyInstantSnapshotRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SetIamPolicyInstantSnapshotRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SetIamPolicyInstantSnapshotRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SetIamPolicyInstantSnapshotRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder>public SetIamPolicyInstantSnapshotRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder>public SetIamPolicyInstantSnapshotRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder>public SetIamPolicyInstantSnapshotRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder>public SetIamPolicyInstantSnapshotRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder>public SetIamPolicyInstantSnapshotRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder>public SetIamPolicyInstantSnapshotRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetIamPolicyInstantSnapshotRequest.Builder>public SetIamPolicyInstantSnapshotRequest.Builder mergeFrom(SetIamPolicyInstantSnapshotRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder>public SetIamPolicyInstantSnapshotRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetIamPolicyInstantSnapshotRequest.Builder>IOExceptionpublic String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];getProject in interface SetIamPolicyInstantSnapshotRequestOrBuilderpublic com.google.protobuf.ByteString getProjectBytes()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];getProjectBytes in interface SetIamPolicyInstantSnapshotRequestOrBuilderpublic SetIamPolicyInstantSnapshotRequest.Builder setProject(String value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];value - The project to set.public SetIamPolicyInstantSnapshotRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];public SetIamPolicyInstantSnapshotRequest.Builder setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];value - The bytes for project to set.public String getResource()
Name or id of the resource for this request.
string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];getResource in interface SetIamPolicyInstantSnapshotRequestOrBuilderpublic com.google.protobuf.ByteString getResourceBytes()
Name or id of the resource for this request.
string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];getResourceBytes in interface SetIamPolicyInstantSnapshotRequestOrBuilderpublic SetIamPolicyInstantSnapshotRequest.Builder setResource(String value)
Name or id of the resource for this request.
string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];value - The resource to set.public SetIamPolicyInstantSnapshotRequest.Builder clearResource()
Name or id of the resource for this request.
string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];public SetIamPolicyInstantSnapshotRequest.Builder setResourceBytes(com.google.protobuf.ByteString value)
Name or id of the resource for this request.
string resource = 195806222 [(.google.api.field_behavior) = REQUIRED];value - The bytes for resource to set.public String getZone()
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];getZone in interface SetIamPolicyInstantSnapshotRequestOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];getZoneBytes in interface SetIamPolicyInstantSnapshotRequestOrBuilderpublic SetIamPolicyInstantSnapshotRequest.Builder setZone(String value)
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];value - The zone to set.public SetIamPolicyInstantSnapshotRequest.Builder clearZone()
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];public SetIamPolicyInstantSnapshotRequest.Builder setZoneBytes(com.google.protobuf.ByteString value)
The name of the zone for this request.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];value - The bytes for zone to set.public boolean hasZoneSetPolicyRequestResource()
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
hasZoneSetPolicyRequestResource in interface SetIamPolicyInstantSnapshotRequestOrBuilderpublic ZoneSetPolicyRequest getZoneSetPolicyRequestResource()
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
getZoneSetPolicyRequestResource in interface SetIamPolicyInstantSnapshotRequestOrBuilderpublic SetIamPolicyInstantSnapshotRequest.Builder setZoneSetPolicyRequestResource(ZoneSetPolicyRequest value)
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
public SetIamPolicyInstantSnapshotRequest.Builder setZoneSetPolicyRequestResource(ZoneSetPolicyRequest.Builder builderForValue)
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
public SetIamPolicyInstantSnapshotRequest.Builder mergeZoneSetPolicyRequestResource(ZoneSetPolicyRequest value)
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
public SetIamPolicyInstantSnapshotRequest.Builder clearZoneSetPolicyRequestResource()
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
public ZoneSetPolicyRequest.Builder getZoneSetPolicyRequestResourceBuilder()
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
public ZoneSetPolicyRequestOrBuilder getZoneSetPolicyRequestResourceOrBuilder()
The body resource for this request
.google.cloud.compute.v1.ZoneSetPolicyRequest zone_set_policy_request_resource = 382082107 [(.google.api.field_behavior) = REQUIRED];
getZoneSetPolicyRequestResourceOrBuilder in interface SetIamPolicyInstantSnapshotRequestOrBuilderpublic final SetIamPolicyInstantSnapshotRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder>public final SetIamPolicyInstantSnapshotRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SetIamPolicyInstantSnapshotRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.