- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class SyncState.Builder extends GeneratedMessageV3.Builder<SyncState.Builder> implements SyncStateOrBuilder
State indicating an ACM's progress syncing configurations to a cluster
Protobuf type google.cloud.gkehub.configmanagement.v1.SyncState
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SyncState.BuilderImplements
SyncStateOrBuilderMethods
addAllErrors(Iterable<? extends SyncError> values)
public SyncState.Builder addAllErrors(Iterable<? extends SyncError> values)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Name | Description |
values | Iterable<? extends com.google.cloud.gkehub.configmanagement.v1.SyncError> |
Type | Description |
SyncState.Builder |
addErrors(SyncError value)
public SyncState.Builder addErrors(SyncError value)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Name | Description |
value | SyncError |
Type | Description |
SyncState.Builder |
addErrors(SyncError.Builder builderForValue)
public SyncState.Builder addErrors(SyncError.Builder builderForValue)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Name | Description |
builderForValue | SyncError.Builder |
Type | Description |
SyncState.Builder |
addErrors(int index, SyncError value)
public SyncState.Builder addErrors(int index, SyncError value)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Name | Description |
index | int |
value | SyncError |
Type | Description |
SyncState.Builder |
addErrors(int index, SyncError.Builder builderForValue)
public SyncState.Builder addErrors(int index, SyncError.Builder builderForValue)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Name | Description |
index | int |
builderForValue | SyncError.Builder |
Type | Description |
SyncState.Builder |
addErrorsBuilder()
public SyncError.Builder addErrorsBuilder()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Type | Description |
SyncError.Builder |
addErrorsBuilder(int index)
public SyncError.Builder addErrorsBuilder(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Name | Description |
index | int |
Type | Description |
SyncError.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SyncState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SyncState.Builder |
build()
public SyncState build()
Type | Description |
SyncState |
buildPartial()
public SyncState buildPartial()
Type | Description |
SyncState |
clear()
public SyncState.Builder clear()
Type | Description |
SyncState.Builder |
clearCode()
public SyncState.Builder clearCode()
Sync status code
.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode code = 5;
Type | Description |
SyncState.Builder | This builder for chaining. |
clearErrors()
public SyncState.Builder clearErrors()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Type | Description |
SyncState.Builder |
clearField(Descriptors.FieldDescriptor field)
public SyncState.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SyncState.Builder |
clearImportToken()
public SyncState.Builder clearImportToken()
Token indicating the state of the importer.
string import_token = 2;
Type | Description |
SyncState.Builder | This builder for chaining. |
clearLastSync()
public SyncState.Builder clearLastSync()
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];
Type | Description |
SyncState.Builder | This builder for chaining. |
clearLastSyncTime()
public SyncState.Builder clearLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Type | Description |
SyncState.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SyncState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SyncState.Builder |
clearSourceToken()
public SyncState.Builder clearSourceToken()
Token indicating the state of the repo.
string source_token = 1;
Type | Description |
SyncState.Builder | This builder for chaining. |
clearSyncToken()
public SyncState.Builder clearSyncToken()
Token indicating the state of the syncer.
string sync_token = 3;
Type | Description |
SyncState.Builder | This builder for chaining. |
clone()
public SyncState.Builder clone()
Type | Description |
SyncState.Builder |
getCode()
public SyncState.SyncCode getCode()
Sync status code
.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode code = 5;
Type | Description |
SyncState.SyncCode | The code. |
getCodeValue()
public int getCodeValue()
Sync status code
.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode code = 5;
Type | Description |
int | The enum numeric value on the wire for code. |
getDefaultInstanceForType()
public SyncState getDefaultInstanceForType()
Type | Description |
SyncState |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getErrors(int index)
public SyncError getErrors(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Name | Description |
index | int |
Type | Description |
SyncError |
getErrorsBuilder(int index)
public SyncError.Builder getErrorsBuilder(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Name | Description |
index | int |
Type | Description |
SyncError.Builder |
getErrorsBuilderList()
public List<SyncError.Builder> getErrorsBuilderList()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Type | Description |
List<Builder> |
getErrorsCount()
public int getErrorsCount()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Type | Description |
int |
getErrorsList()
public List<SyncError> getErrorsList()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Type | Description |
List<SyncError> |
getErrorsOrBuilder(int index)
public SyncErrorOrBuilder getErrorsOrBuilder(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Name | Description |
index | int |
Type | Description |
SyncErrorOrBuilder |
getErrorsOrBuilderList()
public List<? extends SyncErrorOrBuilder> getErrorsOrBuilderList()
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Type | Description |
List<? extends com.google.cloud.gkehub.configmanagement.v1.SyncErrorOrBuilder> |
getImportToken()
public String getImportToken()
Token indicating the state of the importer.
string import_token = 2;
Type | Description |
String | The importToken. |
getImportTokenBytes()
public ByteString getImportTokenBytes()
Token indicating the state of the importer.
string import_token = 2;
Type | Description |
ByteString | The bytes for importToken. |
getLastSync()
public String getLastSync()
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];
Type | Description |
String | The lastSync. |
getLastSyncBytes()
public ByteString getLastSyncBytes()
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];
Type | Description |
ByteString | The bytes for lastSync. |
getLastSyncTime()
public Timestamp getLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Type | Description |
Timestamp | The lastSyncTime. |
getLastSyncTimeBuilder()
public Timestamp.Builder getLastSyncTimeBuilder()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Type | Description |
Builder |
getLastSyncTimeOrBuilder()
public TimestampOrBuilder getLastSyncTimeOrBuilder()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Type | Description |
TimestampOrBuilder |
getSourceToken()
public String getSourceToken()
Token indicating the state of the repo.
string source_token = 1;
Type | Description |
String | The sourceToken. |
getSourceTokenBytes()
public ByteString getSourceTokenBytes()
Token indicating the state of the repo.
string source_token = 1;
Type | Description |
ByteString | The bytes for sourceToken. |
getSyncToken()
public String getSyncToken()
Token indicating the state of the syncer.
string sync_token = 3;
Type | Description |
String | The syncToken. |
getSyncTokenBytes()
public ByteString getSyncTokenBytes()
Token indicating the state of the syncer.
string sync_token = 3;
Type | Description |
ByteString | The bytes for syncToken. |
hasLastSyncTime()
public boolean hasLastSyncTime()
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Type | Description |
boolean | Whether the lastSyncTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SyncState other)
public SyncState.Builder mergeFrom(SyncState other)
Name | Description |
other | SyncState |
Type | Description |
SyncState.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SyncState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SyncState.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SyncState.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SyncState.Builder |
mergeLastSyncTime(Timestamp value)
public SyncState.Builder mergeLastSyncTime(Timestamp value)
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
SyncState.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SyncState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SyncState.Builder |
removeErrors(int index)
public SyncState.Builder removeErrors(int index)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Name | Description |
index | int |
Type | Description |
SyncState.Builder |
setCode(SyncState.SyncCode value)
public SyncState.Builder setCode(SyncState.SyncCode value)
Sync status code
.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode code = 5;
Name | Description |
value | SyncState.SyncCode The code to set. |
Type | Description |
SyncState.Builder | This builder for chaining. |
setCodeValue(int value)
public SyncState.Builder setCodeValue(int value)
Sync status code
.google.cloud.gkehub.configmanagement.v1.SyncState.SyncCode code = 5;
Name | Description |
value | int The enum numeric value on the wire for code to set. |
Type | Description |
SyncState.Builder | This builder for chaining. |
setErrors(int index, SyncError value)
public SyncState.Builder setErrors(int index, SyncError value)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Name | Description |
index | int |
value | SyncError |
Type | Description |
SyncState.Builder |
setErrors(int index, SyncError.Builder builderForValue)
public SyncState.Builder setErrors(int index, SyncError.Builder builderForValue)
A list of errors resulting from problematic configs. This list will be truncated after 100 errors, although it is unlikely for that many errors to simultaneously exist.
repeated .google.cloud.gkehub.configmanagement.v1.SyncError errors = 6;
Name | Description |
index | int |
builderForValue | SyncError.Builder |
Type | Description |
SyncState.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SyncState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SyncState.Builder |
setImportToken(String value)
public SyncState.Builder setImportToken(String value)
Token indicating the state of the importer.
string import_token = 2;
Name | Description |
value | String The importToken to set. |
Type | Description |
SyncState.Builder | This builder for chaining. |
setImportTokenBytes(ByteString value)
public SyncState.Builder setImportTokenBytes(ByteString value)
Token indicating the state of the importer.
string import_token = 2;
Name | Description |
value | ByteString The bytes for importToken to set. |
Type | Description |
SyncState.Builder | This builder for chaining. |
setLastSync(String value)
public SyncState.Builder setLastSync(String value)
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];
Name | Description |
value | String The lastSync to set. |
Type | Description |
SyncState.Builder | This builder for chaining. |
setLastSyncBytes(ByteString value)
public SyncState.Builder setLastSyncBytes(ByteString value)
Deprecated: use last_sync_time instead. Timestamp of when ACM last successfully synced the repo The time format is specified in https://golang.org/pkg/time/#Time.String
string last_sync = 4 [deprecated = true];
Name | Description |
value | ByteString The bytes for lastSync to set. |
Type | Description |
SyncState.Builder | This builder for chaining. |
setLastSyncTime(Timestamp value)
public SyncState.Builder setLastSyncTime(Timestamp value)
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
SyncState.Builder |
setLastSyncTime(Timestamp.Builder builderForValue)
public SyncState.Builder setLastSyncTime(Timestamp.Builder builderForValue)
Timestamp type of when ACM last successfully synced the repo
.google.protobuf.Timestamp last_sync_time = 7;
Name | Description |
builderForValue | Builder |
Type | Description |
SyncState.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SyncState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SyncState.Builder |
setSourceToken(String value)
public SyncState.Builder setSourceToken(String value)
Token indicating the state of the repo.
string source_token = 1;
Name | Description |
value | String The sourceToken to set. |
Type | Description |
SyncState.Builder | This builder for chaining. |
setSourceTokenBytes(ByteString value)
public SyncState.Builder setSourceTokenBytes(ByteString value)
Token indicating the state of the repo.
string source_token = 1;
Name | Description |
value | ByteString The bytes for sourceToken to set. |
Type | Description |
SyncState.Builder | This builder for chaining. |
setSyncToken(String value)
public SyncState.Builder setSyncToken(String value)
Token indicating the state of the syncer.
string sync_token = 3;
Name | Description |
value | String The syncToken to set. |
Type | Description |
SyncState.Builder | This builder for chaining. |
setSyncTokenBytes(ByteString value)
public SyncState.Builder setSyncTokenBytes(ByteString value)
Token indicating the state of the syncer.
string sync_token = 3;
Name | Description |
value | ByteString The bytes for syncToken to set. |
Type | Description |
SyncState.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SyncState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SyncState.Builder |