public static final class ResourceCAIInfo.Builder extends GeneratedMessageV3.Builder<ResourceCAIInfo.Builder> implements ResourceCAIInfoOrBuilder
CAI info of a Resource.
Protobuf type google.cloud.config.v1.ResourceCAIInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceCAIInfo.BuilderImplements
ResourceCAIInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceCAIInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder |
build()
public ResourceCAIInfo build()
Returns | |
---|---|
Type | Description |
ResourceCAIInfo |
buildPartial()
public ResourceCAIInfo buildPartial()
Returns | |
---|---|
Type | Description |
ResourceCAIInfo |
clear()
public ResourceCAIInfo.Builder clear()
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public ResourceCAIInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder |
clearFullResourceName()
public ResourceCAIInfo.Builder clearFullResourceName()
CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name
string full_resource_name = 1;
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceCAIInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder |
clone()
public ResourceCAIInfo.Builder clone()
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder |
getDefaultInstanceForType()
public ResourceCAIInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ResourceCAIInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFullResourceName()
public String getFullResourceName()
CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name
string full_resource_name = 1;
Returns | |
---|---|
Type | Description |
String | The fullResourceName. |
getFullResourceNameBytes()
public ByteString getFullResourceNameBytes()
CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name
string full_resource_name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for fullResourceName. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ResourceCAIInfo other)
public ResourceCAIInfo.Builder mergeFrom(ResourceCAIInfo other)
Parameter | |
---|---|
Name | Description |
other | ResourceCAIInfo |
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourceCAIInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ResourceCAIInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceCAIInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceCAIInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder |
setFullResourceName(String value)
public ResourceCAIInfo.Builder setFullResourceName(String value)
CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name
string full_resource_name = 1;
Parameter | |
---|---|
Name | Description |
value | String The fullResourceName to set. |
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder | This builder for chaining. |
setFullResourceNameBytes(ByteString value)
public ResourceCAIInfo.Builder setFullResourceNameBytes(ByteString value)
CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name
string full_resource_name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for fullResourceName to set. |
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceCAIInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceCAIInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourceCAIInfo.Builder |