public static final class ResourceLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResourceLocation.Builder> implements ResourceLocationOrBuilder
Location information about a resource.Protobuf type
google.cloud.audit.ResourceLocation| Modifier and Type | Method and Description |
|---|---|
ResourceLocation.Builder |
addAllCurrentLocations(Iterable<String> values)
The locations of a resource after the execution of the operation.
|
ResourceLocation.Builder |
addAllOriginalLocations(Iterable<String> values)
The locations of a resource prior to the execution of the operation.
|
ResourceLocation.Builder |
addCurrentLocations(String value)
The locations of a resource after the execution of the operation.
|
ResourceLocation.Builder |
addCurrentLocationsBytes(com.google.protobuf.ByteString value)
The locations of a resource after the execution of the operation.
|
ResourceLocation.Builder |
addOriginalLocations(String value)
The locations of a resource prior to the execution of the operation.
|
ResourceLocation.Builder |
addOriginalLocationsBytes(com.google.protobuf.ByteString value)
The locations of a resource prior to the execution of the operation.
|
ResourceLocation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResourceLocation |
build() |
ResourceLocation |
buildPartial() |
ResourceLocation.Builder |
clear() |
ResourceLocation.Builder |
clearCurrentLocations()
The locations of a resource after the execution of the operation.
|
ResourceLocation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ResourceLocation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ResourceLocation.Builder |
clearOriginalLocations()
The locations of a resource prior to the execution of the operation.
|
ResourceLocation.Builder |
clone() |
String |
getCurrentLocations(int index)
The locations of a resource after the execution of the operation.
|
com.google.protobuf.ByteString |
getCurrentLocationsBytes(int index)
The locations of a resource after the execution of the operation.
|
int |
getCurrentLocationsCount()
The locations of a resource after the execution of the operation.
|
com.google.protobuf.ProtocolStringList |
getCurrentLocationsList()
The locations of a resource after the execution of the operation.
|
ResourceLocation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getOriginalLocations(int index)
The locations of a resource prior to the execution of the operation.
|
com.google.protobuf.ByteString |
getOriginalLocationsBytes(int index)
The locations of a resource prior to the execution of the operation.
|
int |
getOriginalLocationsCount()
The locations of a resource prior to the execution of the operation.
|
com.google.protobuf.ProtocolStringList |
getOriginalLocationsList()
The locations of a resource prior to the execution of the operation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ResourceLocation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ResourceLocation.Builder |
mergeFrom(com.google.protobuf.Message other) |
ResourceLocation.Builder |
mergeFrom(ResourceLocation other) |
ResourceLocation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ResourceLocation.Builder |
setCurrentLocations(int index,
String value)
The locations of a resource after the execution of the operation.
|
ResourceLocation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResourceLocation.Builder |
setOriginalLocations(int index,
String value)
The locations of a resource prior to the execution of the operation.
|
ResourceLocation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ResourceLocation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ResourceLocation.Builder>public ResourceLocation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ResourceLocation.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<ResourceLocation.Builder>public ResourceLocation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ResourceLocation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ResourceLocation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ResourceLocation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ResourceLocation.Builder>public ResourceLocation.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<ResourceLocation.Builder>public ResourceLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ResourceLocation.Builder>public ResourceLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ResourceLocation.Builder>public ResourceLocation.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<ResourceLocation.Builder>public ResourceLocation.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<ResourceLocation.Builder>public ResourceLocation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ResourceLocation.Builder>public ResourceLocation.Builder mergeFrom(ResourceLocation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ResourceLocation.Builder>public ResourceLocation.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<ResourceLocation.Builder>IOExceptionpublic com.google.protobuf.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;getCurrentLocationsList in interface ResourceLocationOrBuilderpublic 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;getCurrentLocationsCount in interface ResourceLocationOrBuilderpublic 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;getCurrentLocations in interface ResourceLocationOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getCurrentLocationsBytes in interface ResourceLocationOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The currentLocations to set.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;value - The currentLocations to add.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;values - The currentLocations to add.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;public ResourceLocation.Builder addCurrentLocationsBytes(com.google.protobuf.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;value - The bytes of the currentLocations to add.public com.google.protobuf.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;getOriginalLocationsList in interface ResourceLocationOrBuilderpublic 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;getOriginalLocationsCount in interface ResourceLocationOrBuilderpublic 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;getOriginalLocations in interface ResourceLocationOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getOriginalLocationsBytes in interface ResourceLocationOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The originalLocations to set.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;value - The originalLocations to add.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;values - The originalLocations to add.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;public ResourceLocation.Builder addOriginalLocationsBytes(com.google.protobuf.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;value - The bytes of the originalLocations to add.public final ResourceLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResourceLocation.Builder>public final ResourceLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ResourceLocation.Builder>Copyright © 2022 Google LLC. All rights reserved.