Class Certificate.UsedBy.Builder (0.106.0)

public static final class Certificate.UsedBy.Builder extends GeneratedMessage.Builder<Certificate.UsedBy.Builder> implements Certificate.UsedByOrBuilder

Defines a resource that uses the certificate.

Protobuf type google.cloud.certificatemanager.v1.Certificate.UsedBy

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Certificate.UsedBy build()
Returns
Type Description
Certificate.UsedBy

buildPartial()

public Certificate.UsedBy buildPartial()
Returns
Type Description
Certificate.UsedBy

clear()

public Certificate.UsedBy.Builder clear()
Returns
Type Description
Certificate.UsedBy.Builder
Overrides

clearName()

public Certificate.UsedBy.Builder clearName()

Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, e.g. //certificatemanager.googleapis.com/projects/*/locations/*/certificateMaps/*/certificateMapEntries/* or //compute.googleapis.com/projects/*/locations/*/targetHttpsProxies/*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Certificate.UsedBy.Builder

This builder for chaining.

getDefaultInstanceForType()

public Certificate.UsedBy getDefaultInstanceForType()
Returns
Type Description
Certificate.UsedBy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, e.g. //certificatemanager.googleapis.com/projects/*/locations/*/certificateMaps/*/certificateMapEntries/* or //compute.googleapis.com/projects/*/locations/*/targetHttpsProxies/*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, e.g. //certificatemanager.googleapis.com/projects/*/locations/*/certificateMaps/*/certificateMapEntries/* or //compute.googleapis.com/projects/*/locations/*/targetHttpsProxies/*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Certificate.UsedBy other)

public Certificate.UsedBy.Builder mergeFrom(Certificate.UsedBy other)
Parameter
Name Description
other Certificate.UsedBy
Returns
Type Description
Certificate.UsedBy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Certificate.UsedBy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Certificate.UsedBy.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Certificate.UsedBy.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Certificate.UsedBy.Builder
Overrides

setName(String value)

public Certificate.UsedBy.Builder setName(String value)

Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, e.g. //certificatemanager.googleapis.com/projects/*/locations/*/certificateMaps/*/certificateMapEntries/* or //compute.googleapis.com/projects/*/locations/*/targetHttpsProxies/*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Certificate.UsedBy.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Certificate.UsedBy.Builder setNameBytes(ByteString value)

Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, e.g. //certificatemanager.googleapis.com/projects/*/locations/*/certificateMaps/*/certificateMapEntries/* or //compute.googleapis.com/projects/*/locations/*/targetHttpsProxies/*.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Certificate.UsedBy.Builder

This builder for chaining.