- 3.54.0 (latest)
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class ExamplesRestrictionsNamespace.Builder extends GeneratedMessageV3.Builder<ExamplesRestrictionsNamespace.Builder> implements ExamplesRestrictionsNamespaceOrBuilder
Restrictions namespace for example-based explanations overrides.
Protobuf type google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExamplesRestrictionsNamespace.BuilderImplements
ExamplesRestrictionsNamespaceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllAllow(Iterable<String> values)
public ExamplesRestrictionsNamespace.Builder addAllAllow(Iterable<String> values)
The list of allowed tags.
repeated string allow = 2;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The allow to add. |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
addAllDeny(Iterable<String> values)
public ExamplesRestrictionsNamespace.Builder addAllDeny(Iterable<String> values)
The list of deny tags.
repeated string deny = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The deny to add. |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
addAllow(String value)
public ExamplesRestrictionsNamespace.Builder addAllow(String value)
The list of allowed tags.
repeated string allow = 2;
Parameter | |
---|---|
Name | Description |
value | String The allow to add. |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
addAllowBytes(ByteString value)
public ExamplesRestrictionsNamespace.Builder addAllowBytes(ByteString value)
The list of allowed tags.
repeated string allow = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the allow to add. |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
addDeny(String value)
public ExamplesRestrictionsNamespace.Builder addDeny(String value)
The list of deny tags.
repeated string deny = 3;
Parameter | |
---|---|
Name | Description |
value | String The deny to add. |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
addDenyBytes(ByteString value)
public ExamplesRestrictionsNamespace.Builder addDenyBytes(ByteString value)
The list of deny tags.
repeated string deny = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the deny to add. |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExamplesRestrictionsNamespace.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder |
build()
public ExamplesRestrictionsNamespace build()
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace |
buildPartial()
public ExamplesRestrictionsNamespace buildPartial()
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace |
clear()
public ExamplesRestrictionsNamespace.Builder clear()
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder |
clearAllow()
public ExamplesRestrictionsNamespace.Builder clearAllow()
The list of allowed tags.
repeated string allow = 2;
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
clearDeny()
public ExamplesRestrictionsNamespace.Builder clearDeny()
The list of deny tags.
repeated string deny = 3;
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ExamplesRestrictionsNamespace.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder |
clearNamespaceName()
public ExamplesRestrictionsNamespace.Builder clearNamespaceName()
The namespace name.
string namespace_name = 1;
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExamplesRestrictionsNamespace.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder |
clone()
public ExamplesRestrictionsNamespace.Builder clone()
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder |
getAllow(int index)
public String getAllow(int index)
The list of allowed tags.
repeated string allow = 2;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The allow at the given index. |
getAllowBytes(int index)
public ByteString getAllowBytes(int index)
The list of allowed tags.
repeated string allow = 2;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the allow at the given index. |
getAllowCount()
public int getAllowCount()
The list of allowed tags.
repeated string allow = 2;
Returns | |
---|---|
Type | Description |
int | The count of allow. |
getAllowList()
public ProtocolStringList getAllowList()
The list of allowed tags.
repeated string allow = 2;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the allow. |
getDefaultInstanceForType()
public ExamplesRestrictionsNamespace getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace |
getDeny(int index)
public String getDeny(int index)
The list of deny tags.
repeated string deny = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The deny at the given index. |
getDenyBytes(int index)
public ByteString getDenyBytes(int index)
The list of deny tags.
repeated string deny = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the deny at the given index. |
getDenyCount()
public int getDenyCount()
The list of deny tags.
repeated string deny = 3;
Returns | |
---|---|
Type | Description |
int | The count of deny. |
getDenyList()
public ProtocolStringList getDenyList()
The list of deny tags.
repeated string deny = 3;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the deny. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNamespaceName()
public String getNamespaceName()
The namespace name.
string namespace_name = 1;
Returns | |
---|---|
Type | Description |
String | The namespaceName. |
getNamespaceNameBytes()
public ByteString getNamespaceNameBytes()
The namespace name.
string namespace_name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for namespaceName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ExamplesRestrictionsNamespace other)
public ExamplesRestrictionsNamespace.Builder mergeFrom(ExamplesRestrictionsNamespace other)
Parameter | |
---|---|
Name | Description |
other | ExamplesRestrictionsNamespace |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExamplesRestrictionsNamespace.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExamplesRestrictionsNamespace.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExamplesRestrictionsNamespace.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder |
setAllow(int index, String value)
public ExamplesRestrictionsNamespace.Builder setAllow(int index, String value)
The list of allowed tags.
repeated string allow = 2;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The allow to set. |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
setDeny(int index, String value)
public ExamplesRestrictionsNamespace.Builder setDeny(int index, String value)
The list of deny tags.
repeated string deny = 3;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The deny to set. |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ExamplesRestrictionsNamespace.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder |
setNamespaceName(String value)
public ExamplesRestrictionsNamespace.Builder setNamespaceName(String value)
The namespace name.
string namespace_name = 1;
Parameter | |
---|---|
Name | Description |
value | String The namespaceName to set. |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
setNamespaceNameBytes(ByteString value)
public ExamplesRestrictionsNamespace.Builder setNamespaceNameBytes(ByteString value)
The namespace name.
string namespace_name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for namespaceName to set. |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExamplesRestrictionsNamespace.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExamplesRestrictionsNamespace.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExamplesRestrictionsNamespace.Builder |