public static final class FetchReadTokenRequest.Builder extends GeneratedMessageV3.Builder<FetchReadTokenRequest.Builder> implements FetchReadTokenRequestOrBuilder
Message for fetching SCM read token.
Protobuf type google.devtools.cloudbuild.v2.FetchReadTokenRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public FetchReadTokenRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FetchReadTokenRequest build()
Returns
public FetchReadTokenRequest buildPartial()
Returns
public FetchReadTokenRequest.Builder clear()
Returns
Overrides
public FetchReadTokenRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public FetchReadTokenRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public FetchReadTokenRequest.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
public FetchReadTokenRequest.Builder clone()
Returns
Overrides
public FetchReadTokenRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type | Description |
String | The repository.
|
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
Type | Description |
ByteString | The bytes for repository.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public FetchReadTokenRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public FetchReadTokenRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public FetchReadTokenRequest.Builder mergeFrom(FetchReadTokenRequest other)
Parameter
Returns
public final FetchReadTokenRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public FetchReadTokenRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public FetchReadTokenRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public FetchReadTokenRequest.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
Name | Description |
value | String
The repository to set.
|
Returns
public FetchReadTokenRequest.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
Name | Description |
value | ByteString
The bytes for repository to set.
|
Returns
public final FetchReadTokenRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides