Class GetSslCertificateRequest.Builder (1.52.0)

public static final class GetSslCertificateRequest.Builder extends GeneratedMessageV3.Builder<GetSslCertificateRequest.Builder> implements GetSslCertificateRequestOrBuilder

A request message for SslCertificates.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetSslCertificateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetSslCertificateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetSslCertificateRequest.Builder
Overrides

build()

public GetSslCertificateRequest build()
Returns
Type Description
GetSslCertificateRequest

buildPartial()

public GetSslCertificateRequest buildPartial()
Returns
Type Description
GetSslCertificateRequest

clear()

public GetSslCertificateRequest.Builder clear()
Returns
Type Description
GetSslCertificateRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetSslCertificateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetSslCertificateRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetSslCertificateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetSslCertificateRequest.Builder
Overrides

clearProject()

public GetSslCertificateRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetSslCertificateRequest.Builder

This builder for chaining.

clearSslCertificate()

public GetSslCertificateRequest.Builder clearSslCertificate()

Name of the SslCertificate resource to return.

string ssl_certificate = 46443492 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetSslCertificateRequest.Builder

This builder for chaining.

clone()

public GetSslCertificateRequest.Builder clone()
Returns
Type Description
GetSslCertificateRequest.Builder
Overrides

getDefaultInstanceForType()

public GetSslCertificateRequest getDefaultInstanceForType()
Returns
Type Description
GetSslCertificateRequest

getDescriptorForType()

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

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getSslCertificate()

public String getSslCertificate()

Name of the SslCertificate resource to return.

string ssl_certificate = 46443492 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sslCertificate.

getSslCertificateBytes()

public ByteString getSslCertificateBytes()

Name of the SslCertificate resource to return.

string ssl_certificate = 46443492 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sslCertificate.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetSslCertificateRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetSslCertificateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetSslCertificateRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetSslCertificateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetSslCertificateRequest.Builder
Overrides

setProject(String value)

public GetSslCertificateRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetSslCertificateRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetSslCertificateRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetSslCertificateRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetSslCertificateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetSslCertificateRequest.Builder
Overrides

setSslCertificate(String value)

public GetSslCertificateRequest.Builder setSslCertificate(String value)

Name of the SslCertificate resource to return.

string ssl_certificate = 46443492 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The sslCertificate to set.

Returns
Type Description
GetSslCertificateRequest.Builder

This builder for chaining.

setSslCertificateBytes(ByteString value)

public GetSslCertificateRequest.Builder setSslCertificateBytes(ByteString value)

Name of the SslCertificate resource to return.

string ssl_certificate = 46443492 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for sslCertificate to set.

Returns
Type Description
GetSslCertificateRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GetSslCertificateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetSslCertificateRequest.Builder
Overrides