Package com.google.cloud.chronicle.v1
Class ReferenceListScope.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReferenceListScope.Builder>
com.google.cloud.chronicle.v1.ReferenceListScope.Builder
- All Implemented Interfaces:
ReferenceListScopeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReferenceListScope
public static final class ReferenceListScope.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReferenceListScope.Builder>
implements ReferenceListScopeOrBuilder
ReferenceListScope specifies the list of scope names of the reference list.Protobuf type
google.cloud.chronicle.v1.ReferenceListScope-
Method Summary
Modifier and TypeMethodDescriptionaddAllScopeNames(Iterable<String> values) Optional.addScopeNames(String value) Optional.addScopeNamesBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetScopeNames(int index) Optional.com.google.protobuf.ByteStringgetScopeNamesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ReferenceListScope other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setScopeNames(int index, String value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReferenceListScope.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReferenceListScope.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReferenceListScope.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReferenceListScope.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReferenceListScope.Builder>
-
mergeFrom
public ReferenceListScope.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReferenceListScope.Builder>- Throws:
IOException
-
getScopeNamesList
public com.google.protobuf.ProtocolStringList getScopeNamesList()Optional. The list of scope names of the reference list. The scope names should be full resource names and should be of the format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`.repeated string scope_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getScopeNamesListin interfaceReferenceListScopeOrBuilder- Returns:
- A list containing the scopeNames.
-
getScopeNamesCount
public int getScopeNamesCount()Optional. The list of scope names of the reference list. The scope names should be full resource names and should be of the format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`.repeated string scope_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getScopeNamesCountin interfaceReferenceListScopeOrBuilder- Returns:
- The count of scopeNames.
-
getScopeNames
Optional. The list of scope names of the reference list. The scope names should be full resource names and should be of the format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`.repeated string scope_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getScopeNamesin interfaceReferenceListScopeOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The scopeNames at the given index.
-
getScopeNamesBytes
public com.google.protobuf.ByteString getScopeNamesBytes(int index) Optional. The list of scope names of the reference list. The scope names should be full resource names and should be of the format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`.repeated string scope_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getScopeNamesBytesin interfaceReferenceListScopeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the scopeNames at the given index.
-
setScopeNames
Optional. The list of scope names of the reference list. The scope names should be full resource names and should be of the format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`.repeated string scope_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The scopeNames to set.- Returns:
- This builder for chaining.
-
addScopeNames
Optional. The list of scope names of the reference list. The scope names should be full resource names and should be of the format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`.repeated string scope_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The scopeNames to add.- Returns:
- This builder for chaining.
-
addAllScopeNames
Optional. The list of scope names of the reference list. The scope names should be full resource names and should be of the format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`.repeated string scope_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The scopeNames to add.- Returns:
- This builder for chaining.
-
clearScopeNames
Optional. The list of scope names of the reference list. The scope names should be full resource names and should be of the format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`.repeated string scope_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addScopeNamesBytes
Optional. The list of scope names of the reference list. The scope names should be full resource names and should be of the format: `projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope_name}`.repeated string scope_names = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the scopeNames to add.- Returns:
- This builder for chaining.
-