Class GetSslPolicyRequest.Builder (1.93.0)

public static final class GetSslPolicyRequest.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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.

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.