Class FetchReadWriteTokenRequest.Builder (3.80.0)

publicstaticfinalclass FetchReadWriteTokenRequest.BuilderextendsGeneratedMessageV3.Builder<FetchReadWriteTokenRequest.Builder>implementsFetchReadWriteTokenRequestOrBuilder

Message for fetching SCM read/write token.

Protobuf type google.devtools.cloudbuild.v2.FetchReadWriteTokenRequest

Inherited Members

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

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicFetchReadWriteTokenRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchReadWriteTokenRequest.Builder
Overrides

build()

publicFetchReadWriteTokenRequestbuild()
Returns
Type Description
FetchReadWriteTokenRequest

buildPartial()

publicFetchReadWriteTokenRequestbuildPartial()
Returns
Type Description
FetchReadWriteTokenRequest

clear()

publicFetchReadWriteTokenRequest.Builderclear()
Returns
Type Description
FetchReadWriteTokenRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicFetchReadWriteTokenRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchReadWriteTokenRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicFetchReadWriteTokenRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchReadWriteTokenRequest.Builder
Overrides

clearRepository()

publicFetchReadWriteTokenRequest.BuilderclearRepository()

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
Type Description
FetchReadWriteTokenRequest.Builder

This builder for chaining.

clone()

publicFetchReadWriteTokenRequest.Builderclone()
Returns
Type Description
FetchReadWriteTokenRequest.Builder
Overrides

getDefaultInstanceForType()

publicFetchReadWriteTokenRequestgetDefaultInstanceForType()
Returns
Type Description
FetchReadWriteTokenRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRepository()

publicStringgetRepository()

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
Type Description
String

The repository.

getRepositoryBytes()

publicByteStringgetRepositoryBytes()

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
Type Description
ByteString

The bytes for repository.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchReadWriteTokenRequest other)

publicFetchReadWriteTokenRequest.BuildermergeFrom(FetchReadWriteTokenRequestother)
Parameter
Name Description
other FetchReadWriteTokenRequest
Returns
Type Description
FetchReadWriteTokenRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicFetchReadWriteTokenRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchReadWriteTokenRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicFetchReadWriteTokenRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
FetchReadWriteTokenRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalFetchReadWriteTokenRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchReadWriteTokenRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicFetchReadWriteTokenRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchReadWriteTokenRequest.Builder
Overrides

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

publicFetchReadWriteTokenRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchReadWriteTokenRequest.Builder
Overrides

setRepository(String value)

publicFetchReadWriteTokenRequest.BuildersetRepository(Stringvalue)

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
Name Description
value String

The repository to set.

Returns
Type Description
FetchReadWriteTokenRequest.Builder

This builder for chaining.

setRepositoryBytes(ByteString value)

publicFetchReadWriteTokenRequest.BuildersetRepositoryBytes(ByteStringvalue)

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
Name Description
value ByteString

The bytes for repository to set.

Returns
Type Description
FetchReadWriteTokenRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalFetchReadWriteTokenRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchReadWriteTokenRequest.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.