Class GetSslCertificateRequest.Builder (1.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetSslCertificateRequest build()
Returns
TypeDescription
GetSslCertificateRequest

buildPartial()

public GetSslCertificateRequest buildPartial()
Returns
TypeDescription
GetSslCertificateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetSslCertificateRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
GetSslCertificateRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetSslCertificateRequest getDefaultInstanceForType()
Returns
TypeDescription
GetSslCertificateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProject()

public String getProject()

Project ID for this request.

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

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
String

The sslCertificate.

getSslCertificateBytes()

public ByteString getSslCertificateBytes()

Name of the SslCertificate resource to return.

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

Returns
TypeDescription
ByteString

The bytes for sslCertificate.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetSslCertificateRequest other)

public GetSslCertificateRequest.Builder mergeFrom(GetSslCertificateRequest other)
Parameter
NameDescription
otherGetSslCertificateRequest
Returns
TypeDescription
GetSslCertificateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetSslCertificateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The project to set.

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

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sslCertificate to set.

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

The bytes for sslCertificate to set.

Returns
TypeDescription
GetSslCertificateRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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