Class ComputeRepositoryAccessTokenStatusResponse.Builder (0.45.0)

See more code actions.
public static final class ComputeRepositoryAccessTokenStatusResponse.Builder extends GeneratedMessageV3.Builder<ComputeRepositoryAccessTokenStatusResponse.Builder> implements ComputeRepositoryAccessTokenStatusResponseOrBuilder

ComputeRepositoryAccessTokenStatus response message.

Protobuf type google.cloud.dataform.v1beta1.ComputeRepositoryAccessTokenStatusResponse

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ComputeRepositoryAccessTokenStatusResponse build()

buildPartial()

public ComputeRepositoryAccessTokenStatusResponse buildPartial()

clear()

public ComputeRepositoryAccessTokenStatusResponse.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public ComputeRepositoryAccessTokenStatusResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ComputeRepositoryAccessTokenStatusResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clearTokenStatus()

public ComputeRepositoryAccessTokenStatusResponse.Builder clearTokenStatus()

Indicates the status of the Git access token.

.google.cloud.dataform.v1beta1.ComputeRepositoryAccessTokenStatusResponse.TokenStatus token_status = 1;

Returns
Type Description
ComputeRepositoryAccessTokenStatusResponse.Builder

This builder for chaining.

clone()

public ComputeRepositoryAccessTokenStatusResponse.Builder clone()
Overrides

getDefaultInstanceForType()

public ComputeRepositoryAccessTokenStatusResponse getDefaultInstanceForType()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTokenStatus()

public ComputeRepositoryAccessTokenStatusResponse.TokenStatus getTokenStatus()

Indicates the status of the Git access token.

.google.cloud.dataform.v1beta1.ComputeRepositoryAccessTokenStatusResponse.TokenStatus token_status = 1;

Returns
Type Description
ComputeRepositoryAccessTokenStatusResponse.TokenStatus

The tokenStatus.

getTokenStatusValue()

public int getTokenStatusValue()

Indicates the status of the Git access token.

.google.cloud.dataform.v1beta1.ComputeRepositoryAccessTokenStatusResponse.TokenStatus token_status = 1;

Returns
Type Description
int

The enum numeric value on the wire for tokenStatus.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ComputeRepositoryAccessTokenStatusResponse other)

public ComputeRepositoryAccessTokenStatusResponse.Builder mergeFrom(ComputeRepositoryAccessTokenStatusResponse other)
Parameter
Name Description
other ComputeRepositoryAccessTokenStatusResponse

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ComputeRepositoryAccessTokenStatusResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ComputeRepositoryAccessTokenStatusResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTokenStatus(ComputeRepositoryAccessTokenStatusResponse.TokenStatus value)

public ComputeRepositoryAccessTokenStatusResponse.Builder setTokenStatus(ComputeRepositoryAccessTokenStatusResponse.TokenStatus value)

Indicates the status of the Git access token.

.google.cloud.dataform.v1beta1.ComputeRepositoryAccessTokenStatusResponse.TokenStatus token_status = 1;

Parameter
Name Description
value ComputeRepositoryAccessTokenStatusResponse.TokenStatus

The tokenStatus to set.

Returns
Type Description
ComputeRepositoryAccessTokenStatusResponse.Builder

This builder for chaining.

setTokenStatusValue(int value)

public ComputeRepositoryAccessTokenStatusResponse.Builder setTokenStatusValue(int value)

Indicates the status of the Git access token.

.google.cloud.dataform.v1beta1.ComputeRepositoryAccessTokenStatusResponse.TokenStatus token_status = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for tokenStatus to set.

Returns
Type Description
ComputeRepositoryAccessTokenStatusResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ComputeRepositoryAccessTokenStatusResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides