Class ResourceCAIInfo.Builder (0.4.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourceCAIInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResourceCAIInfo.Builder
Overrides

build()

public ResourceCAIInfo build()
Returns
TypeDescription
ResourceCAIInfo

buildPartial()

public ResourceCAIInfo buildPartial()
Returns
TypeDescription
ResourceCAIInfo

clear()

public ResourceCAIInfo.Builder clear()
Returns
TypeDescription
ResourceCAIInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ResourceCAIInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ResourceCAIInfo.Builder
Overrides

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
TypeDescription
ResourceCAIInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourceCAIInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResourceCAIInfo.Builder
Overrides

clone()

public ResourceCAIInfo.Builder clone()
Returns
TypeDescription
ResourceCAIInfo.Builder
Overrides

getDefaultInstanceForType()

public ResourceCAIInfo getDefaultInstanceForType()
Returns
TypeDescription
ResourceCAIInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
ByteString

The bytes for fullResourceName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResourceCAIInfo other)

public ResourceCAIInfo.Builder mergeFrom(ResourceCAIInfo other)
Parameter
NameDescription
otherResourceCAIInfo
Returns
TypeDescription
ResourceCAIInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourceCAIInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceCAIInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ResourceCAIInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ResourceCAIInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourceCAIInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResourceCAIInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ResourceCAIInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResourceCAIInfo.Builder
Overrides

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
NameDescription
valueString

The fullResourceName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for fullResourceName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResourceCAIInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResourceCAIInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResourceCAIInfo.Builder
Overrides