public static final class ResourceLocation.Builder extends GeneratedMessageV3.Builder<ResourceLocation.Builder> implements ResourceLocationOrBuilderLocation information about a resource.
Protobuf type google.cloud.audit.ResourceLocation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceLocation.BuilderImplements
ResourceLocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllCurrentLocations(Iterable<String> values)
public ResourceLocation.Builder addAllCurrentLocations(Iterable<String> values)The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
repeated string current_locations = 1;
| Name | Description |
| values | Iterable<String>The currentLocations to add. |
| Type | Description |
| ResourceLocation.Builder | This builder for chaining. |
addAllOriginalLocations(Iterable<String> values)
public ResourceLocation.Builder addAllOriginalLocations(Iterable<String> values)The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
repeated string original_locations = 2;
| Name | Description |
| values | Iterable<String>The originalLocations to add. |
| Type | Description |
| ResourceLocation.Builder | This builder for chaining. |
addCurrentLocations(String value)
public ResourceLocation.Builder addCurrentLocations(String value)The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
repeated string current_locations = 1;
| Name | Description |
| value | StringThe currentLocations to add. |
| Type | Description |
| ResourceLocation.Builder | This builder for chaining. |
addCurrentLocationsBytes(ByteString value)
public ResourceLocation.Builder addCurrentLocationsBytes(ByteString value)The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
repeated string current_locations = 1;
| Name | Description |
| value | ByteStringThe bytes of the currentLocations to add. |
| Type | Description |
| ResourceLocation.Builder | This builder for chaining. |
addOriginalLocations(String value)
public ResourceLocation.Builder addOriginalLocations(String value)The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
repeated string original_locations = 2;
| Name | Description |
| value | StringThe originalLocations to add. |
| Type | Description |
| ResourceLocation.Builder | This builder for chaining. |
addOriginalLocationsBytes(ByteString value)
public ResourceLocation.Builder addOriginalLocationsBytes(ByteString value)The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
repeated string original_locations = 2;
| Name | Description |
| value | ByteStringThe bytes of the originalLocations to add. |
| Type | Description |
| ResourceLocation.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ResourceLocation.Builder |
build()
public ResourceLocation build()| Type | Description |
| ResourceLocation |
buildPartial()
public ResourceLocation buildPartial()| Type | Description |
| ResourceLocation |
clear()
public ResourceLocation.Builder clear()| Type | Description |
| ResourceLocation.Builder |
clearCurrentLocations()
public ResourceLocation.Builder clearCurrentLocations()The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
repeated string current_locations = 1;
| Type | Description |
| ResourceLocation.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ResourceLocation.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| ResourceLocation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| ResourceLocation.Builder |
clearOriginalLocations()
public ResourceLocation.Builder clearOriginalLocations()The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
repeated string original_locations = 2;
| Type | Description |
| ResourceLocation.Builder | This builder for chaining. |
clone()
public ResourceLocation.Builder clone()| Type | Description |
| ResourceLocation.Builder |
getCurrentLocations(int index)
public String getCurrentLocations(int index)The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
repeated string current_locations = 1;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The currentLocations at the given index. |
getCurrentLocationsBytes(int index)
public ByteString getCurrentLocationsBytes(int index)The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
repeated string current_locations = 1;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the currentLocations at the given index. |
getCurrentLocationsCount()
public int getCurrentLocationsCount()The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
repeated string current_locations = 1;
| Type | Description |
| int | The count of currentLocations. |
getCurrentLocationsList()
public ProtocolStringList getCurrentLocationsList()The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
repeated string current_locations = 1;
| Type | Description |
| ProtocolStringList | A list containing the currentLocations. |
getDefaultInstanceForType()
public ResourceLocation getDefaultInstanceForType()| Type | Description |
| ResourceLocation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getOriginalLocations(int index)
public String getOriginalLocations(int index)The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
repeated string original_locations = 2;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The originalLocations at the given index. |
getOriginalLocationsBytes(int index)
public ByteString getOriginalLocationsBytes(int index)The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
repeated string original_locations = 2;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the originalLocations at the given index. |
getOriginalLocationsCount()
public int getOriginalLocationsCount()The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
repeated string original_locations = 2;
| Type | Description |
| int | The count of originalLocations. |
getOriginalLocationsList()
public ProtocolStringList getOriginalLocationsList()The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
repeated string original_locations = 2;
| Type | Description |
| ProtocolStringList | A list containing the originalLocations. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(ResourceLocation other)
public ResourceLocation.Builder mergeFrom(ResourceLocation other)| Name | Description |
| other | ResourceLocation |
| Type | Description |
| ResourceLocation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourceLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ResourceLocation.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ResourceLocation.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| ResourceLocation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ResourceLocation.Builder |
setCurrentLocations(int index, String value)
public ResourceLocation.Builder setCurrentLocations(int index, String value)The locations of a resource after the execution of the operation. Requests to create or delete a location based resource must populate the 'current_locations' field and not the 'original_locations' field. For example: "europe-west1-a" "us-east1" "nam3"
repeated string current_locations = 1;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe currentLocations to set. |
| Type | Description |
| ResourceLocation.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ResourceLocation.Builder |
setOriginalLocations(int index, String value)
public ResourceLocation.Builder setOriginalLocations(int index, String value)The locations of a resource prior to the execution of the operation. Requests that mutate the resource's location must populate both the 'original_locations' as well as the 'current_locations' fields. For example: "europe-west1-a" "us-east1" "nam3"
repeated string original_locations = 2;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe originalLocations to set. |
| Type | Description |
| ResourceLocation.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| ResourceLocation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ResourceLocation.Builder |