Class FetchReadWriteTokenRequest.Builder (3.39.0)

public static final class FetchReadWriteTokenRequest.Builder extends GeneratedMessageV3.Builder<FetchReadWriteTokenRequest.Builder> implements FetchReadWriteTokenRequestOrBuilder

Message for fetching SCM read/write token.

Protobuf type google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchReadWriteTokenRequest build()
Returns
TypeDescription
FetchReadWriteTokenRequest

buildPartial()

public FetchReadWriteTokenRequest buildPartial()
Returns
TypeDescription
FetchReadWriteTokenRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRepository()

public FetchReadWriteTokenRequest.Builder clearRepository()

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
FetchReadWriteTokenRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public FetchReadWriteTokenRequest getDefaultInstanceForType()
Returns
TypeDescription
FetchReadWriteTokenRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRepository()

public String getRepository()

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The repository.

getRepositoryBytes()

public ByteString getRepositoryBytes()

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for repository.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchReadWriteTokenRequest other)

public FetchReadWriteTokenRequest.Builder mergeFrom(FetchReadWriteTokenRequest other)
Parameter
NameDescription
otherFetchReadWriteTokenRequest
Returns
TypeDescription
FetchReadWriteTokenRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public FetchReadWriteTokenRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FetchReadWriteTokenRequest.Builder
Overrides

setRepository(String value)

public FetchReadWriteTokenRequest.Builder setRepository(String value)

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The repository to set.

Returns
TypeDescription
FetchReadWriteTokenRequest.Builder

This builder for chaining.

setRepositoryBytes(ByteString value)

public FetchReadWriteTokenRequest.Builder setRepositoryBytes(ByteString value)

Required. The resource name of the repository in the format projects/*/locations/*/connections/*/repositories/*.

string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for repository to set.

Returns
TypeDescription
FetchReadWriteTokenRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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