Class GetRegionSslPolicyRequest.Builder (1.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionSslPolicyRequest build()
Returns
TypeDescription
GetRegionSslPolicyRequest

buildPartial()

public GetRegionSslPolicyRequest buildPartial()
Returns
TypeDescription
GetRegionSslPolicyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionSslPolicyRequest.Builder clearProject()

Project ID for this request.

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

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetRegionSslPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRegionSslPolicyRequest

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.

getRegion()

public String getRegion()

Name of the region scoping this request.

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

Returns
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

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

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

The bytes for sslPolicy.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetRegionSslPolicyRequest other)

public GetRegionSslPolicyRequest.Builder mergeFrom(GetRegionSslPolicyRequest other)
Parameter
NameDescription
otherGetRegionSslPolicyRequest
Returns
TypeDescription
GetRegionSslPolicyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The project to set.

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

The bytes for project to set.

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

The region to set.

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

The bytes for region to set.

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

The sslPolicy to set.

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

The bytes for sslPolicy to set.

Returns
TypeDescription
GetRegionSslPolicyRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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