Class GetSslPolicyRequest.Builder (1.58.0)

public static final class GetSslPolicyRequest.Builder extends GeneratedMessageV3.Builder<GetSslPolicyRequest.Builder> implements GetSslPolicyRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetSslPolicyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetSslPolicyRequest build()
Returns
Type Description
GetSslPolicyRequest

buildPartial()

public GetSslPolicyRequest buildPartial()
Returns
Type Description
GetSslPolicyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetSslPolicyRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetSslPolicyRequest.Builder

This builder for chaining.

clearSslPolicy()

public GetSslPolicyRequest.Builder clearSslPolicy()

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

string ssl_policy = 295190213 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetSslPolicyRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetSslPolicyRequest getDefaultInstanceForType()
Returns
Type Description
GetSslPolicyRequest

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.

getSslPolicy()

public String getSslPolicy()

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

string ssl_policy = 295190213 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sslPolicy.

getSslPolicyBytes()

public ByteString getSslPolicyBytes()

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

string ssl_policy = 295190213 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sslPolicy.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetSslPolicyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

public GetSslPolicyRequest.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
GetSslPolicyRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetSslPolicyRequest.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
GetSslPolicyRequest.Builder

This builder for chaining.

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

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

setSslPolicy(String value)

public GetSslPolicyRequest.Builder setSslPolicy(String value)

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

string ssl_policy = 295190213 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The sslPolicy to set.

Returns
Type Description
GetSslPolicyRequest.Builder

This builder for chaining.

setSslPolicyBytes(ByteString value)

public GetSslPolicyRequest.Builder setSslPolicyBytes(ByteString value)

Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.

string ssl_policy = 295190213 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for sslPolicy to set.

Returns
Type Description
GetSslPolicyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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