Class GetRegionSslPolicyRequest.Builder (1.54.0)

public static final class GetRegionSslPolicyRequest.Builder extends GeneratedMessageV3.Builder<GetRegionSslPolicyRequest.Builder> implements GetRegionSslPolicyRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetRegionSslPolicyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionSslPolicyRequest build()
Returns
Type Description
GetRegionSslPolicyRequest

buildPartial()

public GetRegionSslPolicyRequest buildPartial()
Returns
Type Description
GetRegionSslPolicyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionSslPolicyRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetRegionSslPolicyRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionSslPolicyRequest.Builder clearRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionSslPolicyRequest.Builder

This builder for chaining.

clearSslPolicy()

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetRegionSslPolicyRequest getDefaultInstanceForType()
Returns
Type Description
GetRegionSslPolicyRequest

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.

getRegion()

public String getRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

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(GetRegionSslPolicyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

setRegion(String value)

public GetRegionSslPolicyRequest.Builder setRegion(String value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GetRegionSslPolicyRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetRegionSslPolicyRequest.Builder setRegionBytes(ByteString value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GetRegionSslPolicyRequest.Builder

This builder for chaining.

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

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

setSslPolicy(String value)

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

This builder for chaining.

setSslPolicyBytes(ByteString value)

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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